package com.zlx.service;

import com.zlx.entity.Emp;
import com.zlx.mapper.EmpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmpService {
    @Autowired
    EmpMapper empMapper;
    public List<Emp> list() {
        return empMapper.list();
    }
}
